package com.spudtech.error
{
    
    
    
    public class SpudDataFormatError extends SpudDataError
    {
        
        // Error ID not given
        public static const NOT_SPECIFIED : int = 0;
        
        // File format was wrong (IE: Image found when XML was requested
        public static const WRONG_FILE_FORMAT : int = 1;
        // Class was wrong (IE: Sound found when Bitmap was requested)
        public static const WRONG_CLASS_TYPE : int = 2;
        
        // Invalid XML file
        public static const BROKEN_XML_FILE : int = 3;
        
        public function SpudDataFormatError(message : String, id : int = 0)
        {
            super(message, id);
        }
        
    }
    
}
